package com.suieqian;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
//@PropertySource(value = { "classpath:/application.yml"}, ignoreResourceNotFound = true)
@EnableTransactionManagement//开启事务管理
@ServletComponentScan
@EnableConfigurationProperties
public class Application {
    public static void main(String[] args) {
        System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism", "50");
        //入口运行类
        SpringApplication.run(Application.class, args);
    }
}
